/**
 * Copyright (c) 2013-2022, Alibaba Group Holding Limited;
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * </p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: TxnStream.proto

package com.aliyun.polardbx.binlog.protocol;

public interface DumpReplyOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.aliyun.polardbx.binlog.protocol.DumpReply)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <code>repeated .com.aliyun.polardbx.binlog.protocol.TxnMessage txnMessage = 1;</code>
   */
  java.util.List<com.aliyun.polardbx.binlog.protocol.TxnMessage> 
      getTxnMessageList();
  /**
   * <code>repeated .com.aliyun.polardbx.binlog.protocol.TxnMessage txnMessage = 1;</code>
   */
  com.aliyun.polardbx.binlog.protocol.TxnMessage getTxnMessage(int index);
  /**
   * <code>repeated .com.aliyun.polardbx.binlog.protocol.TxnMessage txnMessage = 1;</code>
   */
  int getTxnMessageCount();
  /**
   * <code>repeated .com.aliyun.polardbx.binlog.protocol.TxnMessage txnMessage = 1;</code>
   */
  java.util.List<? extends com.aliyun.polardbx.binlog.protocol.TxnMessageOrBuilder> 
      getTxnMessageOrBuilderList();
  /**
   * <code>repeated .com.aliyun.polardbx.binlog.protocol.TxnMessage txnMessage = 1;</code>
   */
  com.aliyun.polardbx.binlog.protocol.TxnMessageOrBuilder getTxnMessageOrBuilder(
      int index);

  /**
   * <code>repeated bytes txnMessageBytes = 2;</code>
   * @return A list containing the txnMessageBytes.
   */
  java.util.List<com.google.protobuf.ByteString> getTxnMessageBytesList();
  /**
   * <code>repeated bytes txnMessageBytes = 2;</code>
   * @return The count of txnMessageBytes.
   */
  int getTxnMessageBytesCount();
  /**
   * <code>repeated bytes txnMessageBytes = 2;</code>
   * @param index The index of the element to return.
   * @return The txnMessageBytes at the given index.
   */
  com.google.protobuf.ByteString getTxnMessageBytes(int index);

  /**
   * <code>.com.aliyun.polardbx.binlog.protocol.PacketMode packetMode = 3;</code>
   * @return The enum numeric value on the wire for packetMode.
   */
  int getPacketModeValue();
  /**
   * <code>.com.aliyun.polardbx.binlog.protocol.PacketMode packetMode = 3;</code>
   * @return The packetMode.
   */
  com.aliyun.polardbx.binlog.protocol.PacketMode getPacketMode();
}
